package com.inspur.edp.bef.bemanager.service.cdmparser;

import com.fasterxml.jackson.annotation.JsonProperty;

public class CdmKey {
    public CdmKey() {
    }

    private String keyId;

    @JsonProperty("KeyId")
    public final String getKeyId() {
        return keyId;
    }

    public final void setKeyId(String value) {
        keyId = value;
    }

    private String objectID;

    @JsonProperty("ObjectID")
    public final String getObjectID() {
        return objectID;
    }

    public final void setObjectID(String value) {
        objectID = value;
    }

    private String name;

    @JsonProperty("Name")
    public final String getName() {
        return name;
    }

    public final void setName(String value) {
        name = value;
    }

    private String code;

    @JsonProperty("Code")
    public final String getCode() {
        return code;
    }

    public final void setCode(String value) {
        code = value;
    }

    private int creationDate;

    @JsonProperty("CreationDate")
    public final int getCreationDate() {
        return creationDate;
    }

    public final void setCreationDate(int value) {
        creationDate = value;
    }

    private String creator;

    @JsonProperty("Creator")
    public final String getCreator() {
        return creator;
    }

    public final void setCreator(String value) {
        creator = value;
    }

    private int modificationDate;

    @JsonProperty("ModificationDate")
    public final int getModificationDate() {
        return modificationDate;
    }

    public final void setModificationDate(int value) {
        modificationDate = value;
    }

    private String modifier;

    @JsonProperty("Modifier")
    public final String getModifier() {
        return modifier;
    }

    public final void setModifier(String value) {
        modifier = value;
    }

    private java.util.List<CdmColumnInfo> columns;

    @JsonProperty("Columns")
    public final java.util.List<CdmColumnInfo> getColumns() {
        return columns;
    }

    private String privateRefItemId;

    @JsonProperty("RefItemId")
    public final String getRefItemId() {
        return privateRefItemId;
    }

    public final void setRefItemId(String value) {
        privateRefItemId = value;
    }

    public final void AddColumn(CdmColumnInfo mColumn) {
        if (columns == null) {
            columns = new java.util.ArrayList<CdmColumnInfo>();
        }
        columns.add(mColumn);
    }
}